home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Misc / RZToDoList / Source / RZBrowserCell.subproj / RZSortedList.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  740 b   |  27 lines

  1. /* 
  2.  * RZSortedList - support object for the RZBrowserCell, a List that
  3.  *     can sort itself in a generic way (it depends on its constituent
  4.  *        objects to conform to the RZSortableObjects protocol)
  5.  *
  6.  * You may freely copy, distribute and reuse the code in this example.
  7.  * This code is provided AS IS without warranty of any kind, expressed 
  8.  * or implied, as to its fitness for any particular use.
  9.  *
  10.  * Copyright 1995 Ralph Zazula (rzazula@next.com).  All Rights Reserved.
  11.  *
  12.  */
  13.  
  14. #import "RZRefCountedList.h"
  15. #import "RZSortableObjects.h"
  16.  
  17. @interface RZSortedList : RZRefCountedList
  18. {
  19. }
  20.  
  21. - insertObject:anObject at:(unsigned)index;
  22. - replaceObjectAt:(unsigned)index with:newObject;
  23. - addObject:(id <RZSortableObjects>)anObject;
  24.  
  25. @end
  26.  
  27.